.project-card {
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.project-card.dragging {
  opacity: 0.5;
  transform: scale(0.95);
}

.project-card-menu {
  font-size: 18px;
  color: #8c8c8c;
  padding: 4px;
  cursor: pointer;
  transition: color 0.3s;
}

.project-card-menu:hover {
  color: #1890ff;
}

.project-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.project-icon {
  flex-shrink: 0;
  font-size: 32px;
  margin-top: 4px;
}

.project-info {
  flex: 1;
  min-width: 0;
}

.project-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #262626;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-description {
  margin-top: 4px;
  font-size: 13px;
  color: #8c8c8c;
  line-height: 1.5;
}

.project-stats {
  padding: 8px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.project-time {
  flex-shrink: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .project-card {
    margin-bottom: 12px;
  }

  .project-card:hover {
    transform: none;
  }

  .project-icon {
    font-size: 28px;
  }

  .project-name {
    font-size: 15px;
  }

  .project-description {
    font-size: 12px;
  }

  .project-stats {
    padding: 6px 0;
  }

  .project-footer {
    flex-wrap: wrap;
  }
}

/* 拖拽手柄样式 */
.drag-handle {
  cursor: grab;
  color: #bfbfbf;
  font-size: 16px;
  padding: 4px;
  margin-right: 8px;
  transition: color 0.3s;
}

.drag-handle:hover {
  color: #1890ff;
}

.drag-handle:active {
  cursor: grabbing;
}
